﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using System.Windows.Threading;
using System.Diagnostics;

namespace SchemeManager
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {


        protected override void OnStartup(StartupEventArgs e)
        {

            Login l = new Login();
            bool? ret = l.ShowDialog();

            if (ret.HasValue == false || ret.Value != true)
            {
                Process.GetCurrentProcess().Kill();
                return;
            }

            //继续执行
            //base.OnStartup(e);
        }

    }
}
